<div class="col-sm-12 mt20">
<div class="panel panel-default">
    <div class="panel-body">
        <div class="form-group form-inline">
            <div class="col-sm-12">
                  <div class="col-sm-2"> 
                      <input type="text" class="form-control" ng-model="searchform.para" placeholder="请输入票码或手机号">
                  </div>
                   <div class="col-sm-8"> 
                    </div>
                    <div class="col-sm-2"> 
                         <input type="button "  class="btn btn-info search form-control"  ng-click="load()"  value="立即搜索">
                    </div>
            </div>
        </div>
    </div>
</div><!-- searchArea -->

<div class="panel panel-default">
   
  <table class="table table-hover table-bordered">
    <thead class="panel-heading">
      <tr>
        <th class="col-md-2 text-center">订单编号</th>
        <th class="col-md-1 text-center">票码</th>
        <th class="col-md-2 text-center">票种名称</th>
        <th class="col-md-1 text-center">使用状态</th>
        <th class="col-md-1 text-center">出游日期</th>
        <th class="col-md-2 text-center">出票/使用时间</th>
        <th class="col-md-1 text-center">操作</th>
      </tr>
    </thead>
    <tbody>
    <tr ng-repeat="obj in objs"> 
      
        <td class="text-center">{{obj.order_code}}</td>
        <td class="text-center">{{obj.code}}</td>
        <td class="">{{obj.type_name}}</td>
        <td class="text-center">{{obj.usedname}}</td>
        <td class="text-center">{{obj.tour_date}}</td>
        <td class="text-center">
          {{obj.ticket_out_time}}
          <br />{{obj.usedname == '已使用'? obj.otime: ''}}
        </td>
        <td class="text-center">
        	<a ng-show="obj.used == '0'" ng-click="destory(obj.code)" class="btn btn-success btn-xs">销票</a>
        	<a ng-click="ticketInfo(obj.id)" class="btn btn-success btn-xs">详情</a>
        </td>
      </tr>
    </tbody>
  </table>

  <div class="text-right">

    <pagination 
      total-items="bigTotalItems" 
      ng-model="bigCurrentPage" 
      max-size="maxSize" 
      class="pagination-sm" 
      boundary-links="true" 
      ng-change="load()"
      items-per-page="itemsPerPage"
      previous-text="上一页"
      next-text="下一页"
      first-text="首页"
      last-text="末页"
      rotate="false">
    </pagination>


  </div>
  </div>

</div>